<%= render :partial =>'/store/toolbar'%>
<div id="content_container">
<div class="uneditable">
  <p><label>投放网址:</label>
    <%= @user.site %>
  </p>

  <p><label>银行账号:</label>
    <%= @user.bank_account %>
  </p>

  <p><label> 开户银行信息:</label>
    <%= @user.bank %>
  </p>

  <p><label>开户人:</label>
    <%= @user.account_name %>
  </p>

  <p><label>开户人:</label>
    <%= @user.account_name %>
  </p>

  <p><label>折扣:</label>
    <%= foramt_percentage DISCOUNT  %>
  </p>
  
   <p><label>佣金:</label>
    <%=foramt_percentage COMMISSION %>
  </p>


</div>

<div class="form">
  <% form_tag "/users/update_agent_status_pass/#{params[:id]}",:html=>{:id=>"user_form"} do -%>
    <p>
      <input name="user[discount]" type="hidden" size="3" value="<%=DISCOUNT%>"   />
    </p>
    <p><%= submit_tag "通过申请" %></p>
  <% end %>
</div>
</div>